package com.foreverwin.mes.warehouse.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;
import com.foreverwin.mes.warehouse.model.YieldConfirm;
import com.foreverwin.mes.warehouse.vo.YieldConfirmVo;

import java.util.List;

/**
 * <p>
 * 成品入库确认 服务类
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-14
 */
public interface YieldConfirmService extends IService<YieldConfirm> {

    /**
     * 分页查询
     *
     * @param frontPage
     * @return
     */
    Page<YieldConfirm> selectPage(FrontPage<YieldConfirm> frontPage, YieldConfirm yieldConfirm);

    List<YieldConfirm> selectList(YieldConfirm yieldConfirm);

    List<YieldConfirmVo> selectYieldConfirmList(YieldConfirm yieldConfirm);

    public boolean insertOrUpdate(List<YieldConfirm> yieldConfirms);
}